<template>
	<div class="dianjichakan">
      <el-dialog title="承接佣金记录" :visible.sync="duoxuanlog2" :close-on-click-modal="false" width="600px">

        <div class="kflexc" style="margin-bottom: 20px;" v-for="(item,index) in list" :key="index">
          <div>{{item.created_at}}</div>

          <div style="margin-left: 20px;">{{item.user_name}} {{item.old_content}} 修改成为了 {{item.new_content}}</div>
        </div>

      	<div slot="footer" class="dialog-footer">
      		<el-button type="primary" @click="duoxuanlog2 = false">确认</el-button>
      	</div>
      </el-dialog>
	</div>
</template>

<script>
	import axios from "axios";
	export default {
		name: 'dianjichakan',
    props:['id'],
		data() {
			return {
        duoxuanlog2:false,
        list:[]
			};
		},
		created() {
      //获取所有产品


		},
		mounted() {

		},
		methods: {
      chushihua:function(){
        this.list = this.id
        this.duoxuanlog2 = true
      }
		}
	};
</script>

<style lang="scss" scoped>

</style>
